package com.mkbk.model;

public class User {
    private Integer id;
    private String userName;
    private String password;
    private String hobby;
    private String sex;
    private String salt; // 加密使用的盐
    private String isLock; // 1.正常 2.被锁

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getIsLock() {
        return isLock;
    }

    public void setIsLock(String isLock) {
        this.isLock = isLock;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", hobby='" + hobby + '\'' +
                ", sex='" + sex + '\'' +
                ", salt='" + salt + '\'' +
                ", isLock='" + isLock + '\'' +
                '}';
    }
}
